<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div{
            width: 200px;
            height: 200px;
            background-color: red;
        }
        .span{
            display: block; 
            /* inline; inline-block; */
            width: 200px;
            height: 200px;
            background-color: blue;
        }
        img {
            width: 100px;
        }
    </style>
</head>
<body>
    <h1>css元素类型</h1>
    <div class="div">
        div1
    </div>
    <div class="div">
        div2
    </div>
    <span class="span">span1</span>
    <span class="span">span2</span>
    <img src="./imgs/baidu.png">
    <img src="./imgs/baidu.png">
    <img src="./imgs/baidu.png">
</body>
</html>